package com.gwnet.cabinet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gwnet.cabinet.domian.CabinetBox;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 外卖柜-箱格表 Mapper 接口
 * </p>
 *
 * @author WangLiang
 * @since 2024-07-23
 */
@Mapper
public interface CabinetBoxMapper extends BaseMapper<CabinetBox> {

    /**
     * 根据ID修改箱体的占用订单号和使用状态
     * @param box
     * @return
     */
    int cleanOrderId(@Param("box") CabinetBox box);



}
